require.config({
    baseUrl: '.',
    paths: {
        /*
         jquery and jquery plugins
         */
        'jquery': 'lib/jquery-min',
        'mouseWheel': 'lib/mousewheel.min',
        'i18n': 'src/extends/i18n',
        'flexSlider': 'lib/jquery.flexslider-min',
        'lightTips': 'src/extends/lightTips',
        'jquery.md5':'lib/jquery.md5',
        'Dot':'lib/jquery.dotdotdot.min',

        /*
         angular and angular Component
         */
        'angular': 'lib/angular.min',
        'angular-router': 'lib/angular-ui-router.min',
        'ng-dialog': 'lib/ngDialog.min',
        'restAngular':'lib/restangular.min',
        /*
         underscore tools
         */
        'underscore': 'lib/underscore-min',
        /*
         bootstrap and bootstrap Component
         */
        'bootstrap': 'lib/bootstrap.min',

        /*
         Other modules files
         */
        'block': 'src/scripts/block',
        'cfg': 'src/scripts/cfg',
        'directive': 'src/scripts/directive',
        'module': 'src/scripts/module',
        'service': 'src/scripts/service',
        'template': 'src/scripts/template',
        'app':'src/scripts/application',
        /*
         coreJS
         */
        'messages': 'res/msg',
        'edgeConfig':'src/scripts/cfg/edge.config',
        'edgeExtend':'core/edge.extend',
        /*
         setting files
         */
        'appConfig': 'src/scripts/cfg/AppConfig',
        /*
         require plugin
         */
        'domReady': 'lib/domReady',
        'text': 'lib/text',
        /*
         Load entry JS
         */
        'preLoad': 'src/preload',
        'router': 'src/App'
    },
    shim: {
        'angular': {
            exports: 'angular'
        },
        'jquery': {
            exports: '$'
        },
        'underscore': {
            exports: '_'
        },
        'router': ['edgeExtend'],
        'angular-router': {
            deps: ['angular'],
            exports: 'angular-router'
        },
        'ng-dialog':['angular'],
        'restAngular':['angular','underscore'],
        'appConfig': ['jquery'],
        'flexSlider': ['jquery'],
        'i18n': ['jquery'],
        'lightTips': ['jquery'],
        'BootSideMenu': ['jquery'],
        'bootstrap': ['jquery'],
        'jquery.md5':['jquery'],
        'mouseWheel': ['jquery'],
        'Dot':['jquery']

    },
    deps: ['preLoad'],
    urlArgs: 'd' +ePart.pcUtils.currentVNO(),
    waitSeconds: 0
});
